package com.haskie.product.configBean;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class ProductConfig {

    @Value("${product.name}")
    private String name;
    @Value("${product.num}")
    private Integer num;
}
